package demo3;

import java.util.Comparator;
import java.util.TreeSet;

public class Main3 {
    public static void main(String[] args) {
        TreeSet treeSet=new TreeSet(new Comparator() {
            @Override
            public int compare(Object o1, Object o2) {
                Student stu1=(Student)
            }
        })


    }
}
